You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Dew.Stats.Units Namespace > Classes > RegModels Class > RegModels Methods > ExpEval Method > RegModels.ExpEval Method ([In] double[], double)
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
RegModels.ExpEval Method ([In] double[], double)

Evaluates exponential function.

Syntax
C#
Visual Basic
public static double ExpEval([In] double[] B, double X);

b[0]*Exp(b[1]*X) for given value X and parameters in B array.

Evaluate exponential function for single x.

using Dew.Math; using Dew.Stats.Units; namespace Dew.Examples { private void Example() { double y = RegModels.ExpEval(new double[] {3.0, -0.5}, 1.5); // y = 3*Exp(-0.5*1.5) = 1.4170996582 } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!